//===============================================================================
// Microsoft patterns & practices
// Web Client Software Factory
//-------------------------------------------------------------------------------
// Copyright (C) Microsoft Corporation.  All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//-------------------------------------------------------------------------------
// The example companies, organizations, products, domain names,
// e-mail addresses, logos, people, places, and events depicted
// herein are fictitious.  No association with any real company,
// organization, product, domain name, email address, logo, person,
// places, or events is intended or should be inferred.
//===============================================================================
using System;

namespace WCSFContrib.PageFlow
{
	/// <summary>
	/// Event arguments used for communicating information about an <see cref="IPageFlow"/>
	/// </summary>
	public class PageFlowEventArgs : EventArgs
	{
		private IPageFlow _pageFlow;

		/// <summary>
		/// Creates an event argument for the specified <see cref="IPageFlow"/>.
		/// </summary>
		/// <param name="pageFlow">The PageFlow the event refers to.</param>
		public PageFlowEventArgs(IPageFlow pageFlow)
		{
			_pageFlow = pageFlow;
		}

		/// <summary>
		/// Gets the <see cref="IPageFlow"/> instance.
		/// </summary>
		public IPageFlow PageFlow
		{
			get { return _pageFlow; }
		}
	}
}
